<template>
  <div class="home">
    <div class="left">321</div>
    <div class="right">
      <div>111111</div>
      <div>321</div>
    </div>
  </div>
</template>

<script setup lang="ts">
import instance from '@/http/api'
import { onMounted } from 'vue'
const getHome = async () => {
  const res = await instance.get('/home/data')
  console.log(res)
}
onMounted(() => {
  getHome()
})
</script>

<style scoped>
.home {
  width: 95%;
  display: flex;
  justify-content: space-between;
  padding: 20px;
}
.left {
  width: 872px;
  background-color: red;
  margin-right: 5px;
}
.right {
  width: 592px;
  background-color: blue;
}
</style>
